import axios from "@/api/index"

function cartList(data){
    return axios({
        url:"/cart/cartList",
        method:"GET",
        data
    })
}
function submitAction(data){
    return axios({
        url:"/order/submitAction",
        method:"post",
        data
    })
}
export { // import {index} from "" export可以写多次
    cartList,
    submitAction
}

// export default index // import index1 from ""  export default 只能写一次